package com.taotao.delayjob.core.constant;

import com.taotao.common.enums.CodeTextEnum;
import com.taotao.common.enums.EnumId;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author fengsibo
 * @Type AssetAuditState.java
 * @Desc 审核状态
 * @date 2017年4月11日 下午5:12:16
 */
@EnumId("delayjob.RetryStatus")
@Getter
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public enum RetryStatus implements CodeTextEnum<String> {
    not_success("not_success", "还未重试成功"),
    success("success", "重试成功"),
    rollback("rollback", "已回滚"),
    rollback_fail("rollback_fail", "回滚失败"),
    ;
    private final String text;
    private final String code;


}
